package com.demo.rydemo.result;

import lombok.Data;
import org.springframework.context.annotation.Bean;

/**
 * @Author ry
 * @Description  用于 Controller的一些公共业务
 * @Date 2020/8/3 12:24
 */
@Data
public class CoreController {

    @Bean
    public AjaxResult ajaxResult(){
        return new AjaxResult(200,"",new Object());
    }

}
